<?php

/**
 * 
 */
class Z_Mobile_FormField extends Z_Component {

    public function __construct($label,$name,$labelClass="") {

	$labelClass = ($labelClass!="") ? "class=\"$labelClass\"" : "";

        parent::__construct("<div data-role=\"fieldcontain\"><label for=\"$name\" $labelClass>$label</label>", "</div>");
    }
}